package com.jic.finance.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.finance.entity.PaymentGatewayConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 支付网关配置表
 * @author : 
 * @email : 
 * @since : 2020-03-04 10:48:57
 * @version : v1.0.0
 */
@Mapper
public interface  PaymentGatewayConfigMapper {

    long insert(PaymentGatewayConfig paymentGatewayConfig);

    long delete(Long id);

    long update(PaymentGatewayConfig paymentGatewayConfig);

    PaymentGatewayConfig queryByPrimaryKey(Long id);

    List<PaymentGatewayConfig> query(PaymentGatewayConfig paymentGatewayConfig);

    List<PaymentGatewayConfig> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("paymentGatewayConfig") PaymentGatewayConfig paymentGatewayConfig);

    long queryPageCount(PaymentGatewayConfig paymentGatewayConfig);
}